using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class UIReviseManager : MonoBehaviour
{
    public GameObject panel;
    // Update is called once per frame
    void Update()
    {
        if (GameManager.instance.state == GameState.Pause)
        {
            panel.SetActive(true);
        }else if(GameManager.instance.state == GameState.Usual)
        {
            panel.SetActive(false);
        }
    }
}
